package org.cn.osiris.org.service;

import org.cn.osiris.org.domain.Shop;
import org.cn.osiris.basic.service.IBaseService;
import org.cn.osiris.org.domain.ShopAuditLog;
import org.cn.osiris.org.domain.ShopDto;

import javax.mail.MessagingException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author devil
 * @since 2022-09-11
 */
public interface IShopService extends IBaseService<Shop> {

    void settlement(Shop shop);

    void pass(ShopAuditLog shopAuditLog) throws MessagingException;

    void reject(ShopAuditLog log) throws MessagingException;

    /**
     * 激活接口
     * @param shopAuditLog
     */
    void active(long shopAuditLog);

    /**
     * echarts接口
     * @return
     */
    List<ShopDto> echarts();
}
